package com.android.webttest.Api.Service;

import com.android.webttest.model.Category;
import com.android.webttest.model.Result;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface CategoryApiService {
    @GET("category")
    Call<Result<List<Category>>> list();

    @GET("category/detail")
    Call<Result<Category>> detail(@Query("id") Integer id);
}
